package medical.demo.service.impl;

import com.demo.pojo.THisPatientInformation;
import medical.demo.mapper.DoctorMapper;
import medical.demo.service.DoctorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DoctorServiceImpl implements DoctorService {

    @Resource
    private DoctorMapper tHisPatientInformationMapper;

    @Override
    public int insertTHisPatientInformation(THisPatientInformation tHisPatientInformation) {
        return tHisPatientInformationMapper.insert(tHisPatientInformation);
    }
}
